package com.ie.mapper;

import com.ie.entity.Community;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author admin
* @description 针对表【community】的数据库操作Mapper
* @createDate 2025-03-02 22:16:12
* @Entity com.ie.entity.Community
*/
public interface CommunityMapper extends BaseMapper<Community> {

    boolean deleteCommunity(String id);

    List<Community> getAllCommunity();

    boolean likeCommunity(String userid, String likeid);

    boolean findlike(String userid, String likeid);



    boolean jia(String likeid);
    boolean jian(String likeid);

    boolean unlikeCommunity(String userid, String likeid);
}




